<?php
include("dbconn.php");

//leraren + gegevens in een tabel zetten..
	
	$QUERY = "
		SELECT docentid, naam
		FROM docent;";
	$RESULT = mysql_query($QUERY);
	echo "query = $QUERY <br /><br />";
	
	$rows = mysql_num_rows($RESULT);
	
	for ($i = 0; $i < $rows; $i++)
	{
	
?>		<a><?php print(mysql_result($RESULT, $i, "naam")); ?></a><br />
<?php

	
	
	}

?>